package com.mlk.waste.service;

import com.mlk.core.component.page.Pager;
import com.mlk.core.util.ServerResponse;
import com.mlk.waste.po.EngWasteUserOrderVerify;
import com.mlk.waste.vo.EngWasteOrderVO;
import com.mlk.waste.vo.EngWasteUserOrderItemVO;

public interface EngWasteUserOrderService {
    ServerResponse addOrder(EngWasteOrderVO vo);

    ServerResponse queryEveryStatusOrder(String openId, Integer type);

    ServerResponse cancelOrder(String orderCode);

    ServerResponse selectOrderDetail(String orderCode);

    ServerResponse queryAllWaitOrder(String openId);

    ServerResponse manageOrder(String orderCode,String openId);

    ServerResponse confirmOrder(EngWasteOrderVO vo);

    Pager listPage(EngWasteOrderVO vo);

    Pager listPageItem(EngWasteUserOrderItemVO item);

    ServerResponse waitPick(String openId);

    ServerResponse orderDetails(String orderCode);

    ServerResponse getVerifyAdvice(String orderCode);

    Pager getAllFinishedOrder(String openId);

    ServerResponse getAllVerifyAdvice(String orderCode);

    ServerResponse verifyOk(EngWasteUserOrderVerify verify);

    ServerResponse verifyFail(EngWasteUserOrderVerify verify);

    ServerResponse empConfirm(String orderCode);

    Pager customerOrderCount(EngWasteOrderVO engWasteOrderVO);

    EngWasteOrderVO businessSummary(EngWasteOrderVO engWasteOrderVO);

    /**
     * 根据用户的输入值,获取到相似的内容信息
     * @param openId
     * @param name
     * @return
     */
    ServerResponse AIInput(String openId, String name,String phone);
}
